package com.atguigu.daijia.customer.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component     //交给spring管理,否则无法通过spring的自动装配注入属性值
@Data           //生成getter setter
@ConfigurationProperties(prefix = "wx.miniapp")  //绑定配置文件里面配置信息的前缀
public class WxConfigProperties {
    private String appId;
    private String secret;
}
